
import EventEmitter from 'wolfy87-eventemitter'

const ee = new EventEmitter()

const on = ee.addListener.bind(ee)
const once = ee.addOnceListener.bind(ee)
const emit = ee.emitEvent.bind(ee)
const off = ee.removeListener.bind(ee)

export default {
  on,
  once,
  emit,
  off
}
